package org.nstack.storage.fusionstor.primary;

import org.springframework.http.HttpMethod;
import org.nstack.header.query.APIQueryMessage;
import org.nstack.header.query.AutoQuery;
import org.nstack.header.rest.RestRequest;
import org.nstack.header.storage.primary.APIQueryPrimaryStorageReply;

import java.util.List;

import static java.util.Arrays.asList;


@AutoQuery(replyClass = APIQueryPrimaryStorageReply.class, inventoryClass = FusionstorPrimaryStorageInventory.class)
@RestRequest(
        path = "/primary-storage/fusionstor",
        optionalPaths = {"/primary-storage/fusionstor/{uuid}"},
        method = HttpMethod.GET,
        responseClass = APIQueryPrimaryStorageReply.class
)
public class APIQueryFusionstorPrimaryStorageMsg extends APIQueryMessage {

    public static List<String> __example__() {
        return asList();
    }

}
